package com.example.demo2022.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo2022.entity.User;
import com.example.demo2022.vo.UserRoleVo;
import org.apache.ibatis.annotations.Param;

public interface UserMapper extends BaseMapper<User> {
    void deleteUserRoleByUserId(@Param("userId") Long userId);

    void insertBatchUserRole(@Param("userRoleVo") UserRoleVo userRoleVo);
}
